libxl: set the default grant/maptrack frames at structure init
authorRoger Pau Monne <roger.pau@citrix.com>
Mon, 9 Oct 2017 13:30:06 +0000 (14:30 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 9 Oct 2017 14:19:30 +0000 (15:19 +0100)
commitec3cf54fd2f32d3f8bff94931a7ac2c13cbc7c76
tree833e2af3079f1687d541a0325b634f931c964035
parent849a1f10c937ce0782db95b85da391a49317c49e
libxl: set the default grant/maptrack frames at structure init

libxl_domain_build_info had both the maptrack and grant frames set to
0 by default, forcing the client of libxl to set a sane default.

This is not backwards compatible, so instead initialize both
max_grant_frames and max_maptrack_frames to a sane default (ie: like
previous behavior).

This fixes the libvirt tests in osstest.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl.h
tools/libxl/libxl_types.idl